

import {
    HomeOutlined,
    CrownOutlined,
    ContainerOutlined,
    TeamOutlined,
    GoldOutlined,
    NotificationOutlined,
    SmileOutlined,
    CalendarOutlined,
    CarryOutOutlined,
    ShopOutlined,
    BgColorsOutlined,
    ProfileOutlined
} from '@ant-design/icons';


export const routerList = [
    {
        path: "/main/home",
        permissions: 1,
        text: "首页",
        icon: <HomeOutlined />
    },
    {
        path: "/main/vip",
        permissions: 1,
        text: "会员管理",
        icon: <CrownOutlined />,
        children: [
            {
                path: "/main/vip/list",
                permissions: 1,
                text: "会员列表",
                icon: <CrownOutlined />
            },
            {
                path: "/main/vip/add",
                permissions: 1,
                text: "会员添加",
                icon: <CrownOutlined />
            },
            {
                path: "/main/vip/del",
                permissions: 1,
                text: "会员分析",
                icon: <CrownOutlined />
            },
        ]
    },
    {
        path: "/main/form",
        permissions: 1,
        text: "订单管理",
        icon: <ContainerOutlined />,
        children: [
            {
                path: "/main/form/list",
                permissions: 1,
                text: "订单列表",
                icon: <ContainerOutlined />
            }
        ]
    },
    {
        path: "/main/user",
        permissions: 1,
        text: "管理员管理",
        icon: <TeamOutlined />,
        children: [
            {
                path: "/main/user/list",
                permissions: 1,
                text: "管理员列表",
                icon: <TeamOutlined />
            },
            {
                path: "/main/user/add",
                permissions: 1,
                text: "管理员添加",
                icon: <TeamOutlined />
            }
        ]
    },
    {
        path: "/main/produce",
        permissions: 1,
        text: "产品管理",
        icon: <GoldOutlined />,
        children: [
            {
                path: "/main/produce/list",
                permissions: 1,
                text: "产品列表",
                icon: <GoldOutlined />
            },
            {
                path: "/main/produce/add",
                permissions: 1,
                text: "产品添加",
                icon: <GoldOutlined />
            }
        ]
    },
    {
        path: "/main/activity",
        permissions: 1,
        text: "活动管理",
        icon: <ShopOutlined />,
        children: [
            {
                path: "/main/activity/list",
                permissions: 1,
                text: "活动列表",
                icon: <ShopOutlined />
            },
            {
                path: "/main/activity/add",
                permissions: 1,
                text: "活动添加",
                icon: <ShopOutlined />
            }
        ]
    },
    {
        path: "/main/anno",
        permissions: 1,
        text: "公告管理",
        icon: <NotificationOutlined />,
        children: [
            {
                path: "/main/anno/list",
                permissions: 1,
                text: "公告列表",
                icon: <NotificationOutlined />
            },
            {
                path: "/main/anno/add",
                permissions: 1,
                text: "公告添加",
                icon: <NotificationOutlined />
            },
        ]
    },
    {
        path: "/main/time",
        permissions: 1,
        text: "考勤管理",
        icon: <CalendarOutlined />,
        children: [
            {
                path: "/main/time/time",
                permissions: 1,
                text: "个人考勤",
                icon: <CalendarOutlined />
            },
            {
                path: "/main/time/card",
                permissions: 1,
                text: "考勤打卡",
                icon: <CarryOutOutlined />
            },
        ]
    },
    {

        path: "/main/SkinSwitch",
        permissions: 1,
        text: "主题管理",
        icon: <BgColorsOutlined />,
        children: [
            {
                path: "/main/SkinSwitch/skinSwitch",
                permissions: 1,
                text: "更换皮肤",
                icon: <BgColorsOutlined />
            },
            {
                path: "/main/SkinSwitch/shuffling",
                permissions: 1,
                text: "轮播图更换",
                icon: <BgColorsOutlined />
            },
        ]
    },
    {
        path:"/main/opinion",
        permissions: 1,
        text: "意见管理",
        icon: <ProfileOutlined />,
        children: [
            {
                path:"/main/opinion/list",
                permissions: 1,
                text: "意见箱",
                icon: <ProfileOutlined />
            },
            {
                path:"/main/opinion/add",
                permissions: 1,
                text: "发送意见",
                icon: <ProfileOutlined />
            },
        ]
    },
    {
        path: "/main/mine/mine",
        permissions: 1,
        text: "个人中心",
        icon: <SmileOutlined />
    }
]